<section style="padding:5%">
    <div class="row">
        <img class="img-responsive col-xs-12 " src="../../assets/img/loginW.jpg" alt="" >
</div>
<h4 class="text-center" style="margin-bottom:20px;margin-top:20px;font-weight:bold;">您当前可领取金额：{{money | number:".2-2"}}元</h4>
<form [formGroup]="userForm" (ngSubmit)="doRegister()" class="form-horizontal" role="form" novalidate>
       
    <div  class="form-group" [ngClass]="{'has-error': formErrors.mobile }">
      <label class="col-xs-3 control-label text-right labelBlock">手机号:</label>
      <div class="col-xs-8" style="padding-left:0">
          <input formControlName="mobile" type="text" class="form-control tel" placeholder="请输入您的手机号">
          <div *ngIf="formErrors.mobile" class="text-danger">
                {{ formErrors.mobile }}
            </div>
      </div> 
  </div>
  <div class="form-group" [ngClass]="{'has-error': formErrors.code }">
      <label class="col-xs-3 control-label text-right labelBlock">验证码:</label>
      <div class="col-xs-4" style="padding-right:0;padding-left:0">
        <input formControlName="code" type="text" class="form-control" placeholder="请输入验证码">
        <div *ngIf="formErrors.code" class="text-danger">
                {{ formErrors.code }}
            </div>
    </div>
      <div class="col-xs-4" style="padding-left:8px;">
          <button class="btn btn-primary getCodeBtn"  (click)="getcode()" style="width:100px;padding-left:0;padding-right:0">获取验证码</button>
      </div>
  </div>
  <div class="form-group">
      <div class="col-xs-offset-5 col-xs-2">
          <button  type="submit" class="btn btn-success" [disabled]="!reseive">领取</button>
      </div>
  </div>
</form> 


</section>